package com.houpu.dao;

import com.houpu.pojo.Department;

import java.util.List;
import java.util.Map;

public interface DepartmentMapper {
    /**
     * 查询所有
     *
     * @return
     */
    List<Department> queryAll(Department department);

    /**
     * 查询所有
     *
     * @return
     */
    List<Department> queryP_isor0(Department department);

    /**
     * 修改数据
     */
    int update(Department department);

    /**
     * 删除数据
     */
    int updateP_is(Department department);

    /**
     * 新增
     */
    int insert(Department department);

    /**
     * 恢复数据
     */
    int updateP_isor1(Department department);
}
